package com.elock.entity;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.elock.base.core.entity.BaseEntity;

/**
 * Entity - 电子围栏机构关联
 * @author 仁德
 */
@Entity
@Table(name = "electronic_fence_sale_org")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "electronic_fence_sale_org_sequence")
public class ElectronicFenceSaleOrg extends BaseEntity {

	private static final long serialVersionUID = 1386745660360951034L;

	/** 电子围栏id */
	private Long electronicFenceId;

	/** 机构id */
	private Long saleOrgId;

	/**  
	 * 获取electronicFenceId  
	 * @return electronicFenceId electronicFenceId  
	 */
	public Long getElectronicFenceId() {
		return electronicFenceId;
	}

	/**  
	 * 设置electronicFenceId  
	 * @param electronicFenceId electronicFenceId  
	 */
	public void setElectronicFenceId(Long electronicFenceId) {
		this.electronicFenceId = electronicFenceId;
	}

	/**  
	 * 获取saleOrgId  
	 * @return saleOrgId saleOrgId  
	 */
	public Long getSaleOrgId() {
		return saleOrgId;
	}

	/**  
	 * 设置saleOrgId  
	 * @param saleOrgId saleOrgId  
	 */
	public void setSaleOrgId(Long saleOrgId) {
		this.saleOrgId = saleOrgId;
	}

}
